﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ITS.Core.Domain.Contents;
using System.Web.Mvc;

namespace ITS.Website.Models
{
    public class ManageContentViewModel
    {
        public string Keyword { get; set; }
        public int ContentCategoryID { get; set; }
        public string ContentCategoryName;
        public int SubCategoryID { get; set; }

        public IList<ContentItemModel> ContentItems
        {
            get
            {
                return _contentItems ?? (_contentItems = new List<ContentItemModel>());
            }
            set { _contentItems = value; }
        }

        
        public IEnumerable<SelectListItem> SubCategories { get; set; }

        //private
        private IList<ContentItemModel> _contentItems { get; set; }

        
    }
}